<tr class="lottos-item">
    <td>
        <input autocomplete="off" name="{{ $name }}[{{ $index }}][name]" class="layui-input"
               value="{{ $item->name ?? '' }}"
        >
        <div class="validate-msg-box" data-validate="{{ "{$name}.{$index}.name" }}"></div>
    </td>
    <td>
        <input autocomplete="off" name="{{ $name }}[{{ $index }}][number]" class="layui-input"
               value="{{ $item->number ?? '' }}"
        >
        <div class="validate-msg-box" data-validate="{{ "{$name}.{$index}.number" }}"></div>
    </td>
    <td>
        <input autocomplete="off" name="{{ $name }}[{{ $index }}][desc]" class="layui-input"
               value="{{ $item->desc ?? '' }}"
        >
        <div class="validate-msg-box" data-validate="{{ "{$name}.{$index}.desc" }}"></div>
    </td>
    <td class="lottos-action">
        <div class="layui-btn-group">
            <button type="button" class="layui-btn layui-btn-xs add">添加</button>
            <button type="button" class="layui-btn layui-btn-xs layui-btn-danger remove">删除</button>
        </div>
    </td>
</tr>